package com.evan.designpatterns.proxy.dbroute;

import com.evan.designpatterns.proxy.dbroute.proxy.StaticProxy;

/**
 * @author :liujiapeng01
 * @date :2019-03-14 19:16
 **/
public class Test {

    public static void main(String[] args) {

        Order order=new Order();
        order.setCreateTime(System.currentTimeMillis());
        order.setInfo("xxx");
        StaticProxy staticProxy = new StaticProxy(new OrderServiceImpl());
        staticProxy.insertOrder(order);

    }
}
